* {
    margin: 0;
    padding: 0;
    list-style: none;
}

.onlinePractice {
    width: 100%;
    background: white;

    .filter-wrap {
        width: 960px;
        margin: 0 auto;
        padding: 20px 0;

        .section-wrap {
            display: flex;
            margin-top: 20px;

            ul {
                display: flex;
                margin-left: 40px;

                li {
                    height: 20px;
                    border-radius: 4px;
                    padding: 2px 4px;
                    margin-right: 40px;
                    line-height: 20px;
                    text-align: center;
                    cursor: pointer;
                    font-size: 13px;
                    font-family: PingFang SC;
                    font-weight: 500;
                    color: #797979;
                }

                .active1 {
                    background: rgba(45, 110, 255, 0.39);
                }
                .active2 {
                    background: rgba(45, 110, 255, 0.39);
                }
                .active3 {
                    background: rgba(45, 110, 255, 0.39);
                }

            }
        }
    }

    .practice-content {
        width: 100%;
        background: #F5F5F5;
        margin-bottom: 50px;

        .practice {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            width: 960px;
            margin: 0 auto;
            background: #F5F5F5;

            .practice-item {
                position: relative;
                width: 176px;
                height: 234px;
                background: #FFFFFF;
                border-radius: 8px;
                margin-top: 20px;

                .itemImg {
                    width: 176px;
                    height: 156px;

                    img {
                        width: 100%;
                    }
                }

                .itemTitle {
                    font-size: 11px;
                    font-family: PingFang SC;
                    font-weight: bold;
                    color: #000000;
                    overflow: hidden;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    margin: 6px;
                }

                .itemType {
                    font-size: 10px;
                    font-family: PingFang SC;
                    font-weight: 500;
                    color: #606060;
                    margin: 6px;
                }

                .itemNum {
                    font-size: 10px;
                    font-family: PingFang SC;
                    font-weight: 500;
                    color: #606060;
                    margin: 6px;
                }

                .model {
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 176px;
                    height: 234px;
                    background-color: rgba($color: #000000, $alpha: 0.5);
                    border-radius: 8px;
                    display: none;

                    .collection {
                        position: absolute;
                        top: 75px;
                        left: 73px;
                        width: 30px;

                        img {
                            width: 100%;
                        }
                    }

                    .joinBtn {
                        position: absolute;
                        top: 134px;
                        left: 36px;
                        width: 104px;
                        height: 32px;
                        background: #2D6EFF;
                        opacity: 1;
                        border-radius: 4px;
                        text-align: center;
                        line-height: 32px;
                        font-size: 14px;
                        font-family: PingFang SC;
                        font-weight: 500;
                        color: #FFFFFF;
                    }
                }

                &:hover{
                    .model {
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 176px;
                        height: 234px;
                        background-color: rgba($color: #000000, $alpha: 0.5);
                        border-radius: 8px;
                        display: block;
    
                        .collection {
                            position: absolute;
                            top: 75px;
                            left: 73px;
                            width: 30px;
    
                            img {
                                width: 100%;
                            }
                        }
    
                        .joinBtn {
                            position: absolute;
                            top: 134px;
                            left: 36px;
                            width: 104px;
                            height: 32px;
                            background: #2D6EFF;
                            opacity: 1;
                            border-radius: 4px;
                            text-align: center;
                            line-height: 32px;
                            font-size: 14px;
                            font-family: PingFang SC;
                            font-weight: 500;
                            color: #FFFFFF;
                            cursor: pointer;
                        }
                    }
                }
            }

        }
    }

}